﻿namespace CityProvince;

public partial class MainWindow : CommonUITools.Controls.BaseWindow {
    public MainWindow() {
        InitializeComponent();
        // Navigate to CityListView
        this.SetLoadedOnceEventHandler(static (o, _) => {
            if (o is MainWindow self) {
                WindowHelper.ApplyOptimalThemeStyle(self);
                self.ContentFrame.Navigate(typeof(CityListView));
            }
        });
    }
}
